package cn.edu.scau.cmi.chenxiaoqin.exercise5;

public class STudent {
	private int age;
	public void setAge( int age) {
	if(age>= 7&&age<= 28) {
	this.age = age;}
	}
	public int getAge() {
	return age;
	}
}
